<template>
  <div>
    <ul class="navigate">
      <router-link to='/home' tag="li">
        <i class="iconfont icon-shouye home1"></i>
        首页
      </router-link>
      <router-link to='/shiliaofang' tag="li">
        <i class="iconfont icon-shiwu- home1"></i>
        食疗坊
      </router-link>
      <router-link to='/sirendingzhi' tag="li">
        <i class="iconfont icon-diamonds"></i>
        私人订制
      </router-link>
      <router-link to='/mine' tag="li">
        <i class="iconfont icon-wode2"></i>
        我的
      </router-link>
    </ul>
  </div>
</template>

<script>
  export default {
    name: 'Navigate'
  }
</script>

<style scoped>
  .navigate{
    width: 100%;
    height: 1rem;
    border-top: 0.01rem solid #979797;
    padding: 0.05rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    text-align: center;
    background-color: #fff;
  }
  .navigate li{
    flex-grow: 1;
    padding-top: 0.15rem;
  }
  .navigate li i{
    display: block;
    margin-bottom: 0.02rem;
  }
  .home1{
    font-weight: bold;
  }
  .router-link-exact-active{
    color: #46BF91;
  }

</style>